package cn.andios.service.impl;

import cn.andios.dao.TeaMapper;
import cn.andios.pojo.Tea;
import cn.andios.service.TeaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:教师服务层接口的实现
 * @author:LSD
 * @when:2019/1/25/12:58
 */
@Service
public class TeaServiceImpl implements TeaService {

    @Autowired
    private TeaMapper teaMapper;

    public Tea findTeaById(String id) {
        return teaMapper.selectByPrimaryKey(id);
    }
}
